home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
hours15.zip
/
DOWN.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-10-01
|
572b
|
31 lines
@echo off
cls
echo
HOURS OFF
echo
echo
if errorlevel = 4 goto error4
if errorlevel = 3 goto error3
if errorlevel = 2 goto error2
if errorlevel = 1 goto error1
echo
REM if you don't want to park your harddisk(s), remove the next line
PARK.COM
echo
:end
goto end
:error1
echo Wrong date in the 'hours.dat' file.
goto error
:error2
echo Invalid parameter for 'HOURS.EXE'.
goto error
:error3
echo Status 'a' instead of 'l' in the 'hours.dat' file.
goto error
:error4
echo Status is neither 'a' nor 'l' in the 'hours.dat' file.
:error